const qs = require("querystring");
console.log(qs);

let str = 'uname=swk&age=100';

console.log(qs.parse(str));


let obj = {
    uname:'zbj',
    uage:100
};

console.log(qs.stringify(obj)); //'uname=zbj&uage=100'